<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./index.css">
</head>

<body>
    <div class="bigbox">
        <div class="box1"></div>
        <div class="box2"></div>
        <div class="box3"></div>
        <div class="box4"></div>
        <div class="box5"></div>
        <div class="box6"></div>
        <div class="box7"></div>
        <div class="title">张婷暴富！</div>
    </div>
</body>

<script>
    let title = document.querySelector(".title");
    let bigbox = document.querySelector(".bigbox");
    bigbox.onmouseenter = ()=>{
        title.style.display = "block"
    }
    bigbox.onmouseleave = ()=>{
        title.style.display = "none"
    }

</script>
</html>